package com.quanyue.music.system.type;

import com.quanyue.music.domain.constant.FMPlayRecordType;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table
public class FMPlayRecord {
    @Transient
    @ApiModelProperty(name = "播放记录名")
    private FMPlayRecordType playRecordType;
    @Column(name = "key_id")
    @ApiModelProperty(name = "用户自定义ID")
    private String keyId;
    @Column(name = "title")
    @ApiModelProperty(name = "歌曲标题")
    private String name;

    public FMPlayRecordType getPlayRecordType() {
        return playRecordType;
    }

    public void setPlayRecordType(FMPlayRecordType playRecordType) {
        this.playRecordType = playRecordType;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
